
export const SearchPanel = ({param,users,setParam}) => {


  return <div>
    <form>
      <input type='text' value={param.name} onChange={event => setParam({...param,name:event.target.value})}/>
      <select value={param.personId} onChange={event => setParam({...param,personId:event.target.value})}>
        <option value={""}>负责人</option>
        {
          users.map((elem)=>(<option key={elem.id} value={elem.id}>{elem.name}</option>))
        }
      </select>

    </form>
  </div>
}